package lu.med.praxiswahl.wahlumed.client.patienten;

import javax.swing.JTable;
import javax.swing.ListSelectionModel;

@SuppressWarnings("serial")
public class EGravTable extends JTable
{
    public EGravTable(EGravTableModel model)
    {
	super(model);
	this.setRowHeight(30);
	this.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
	// this.setAutoResizeMode(AUTO_RESIZE_OFF);
	this.selectionModel = getSelectionModel();
	this.selectionModel
		.addListSelectionListener(new EGravTableSelectionListener(model));
    }
}